package com.iplay.service.review;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.iplay.dto.review.ReviewDTO;
import com.iplay.service.user.SimplifiedUser;
import com.iplay.vo.common.EntityDeletionVO;
import com.iplay.vo.review.PostReviewVO;

public interface ReviewService {
	int addReviews(int orderId, SimplifiedUser author, PostReviewVO vo);
	
	boolean deleteReview(int reviewId);
	
	boolean deleteReviews(EntityDeletionVO vo);
	
	Page<ReviewDTO> listReviews(int hotelId, Pageable pageable);
}
